package com.example.travel.mapper;

import com.example.travel.entity.Scenic;
import com.example.travel.entity.ScenicImg;
import com.example.travel.entity.bo.OrderformBO;
import com.example.travel.entity.dto.OrderformDTO;
import com.example.travel.entity.dto.ScenicDTO;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ScenicMapper {


    List<Scenic> queryScenicPage(ScenicDTO scenicDTO);

    List<ScenicImg> queryImgInfomation(ScenicImg scenicImg);

    boolean placeAnOrder(OrderformDTO orderformDTO);

    List<OrderformBO> queryOrderForm(OrderformDTO orderformDTO);
}
